CentOS 6
Sponsored Link

Spacewalk : Client Settings
2015/03/30
 
Register system as Spacewalk client to manage it by Spacewalk management server.
[1] Configure repository for Spacewalk client on a Host and install required packages and finally register to the server. Specify the activation key which you created on initial settings.
# install package for repository

[root@node01 ~]#
yum -y install http://yum.spacewalkproject.org/latest/RHEL/6/x86_64/spacewalk-client-repo-2.2-1.el6.noarch.rpm
# install from EPEL

[root@node01 ~]#
yum --enablerepo=epel -y install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin
# download certificates from Spacewalk management server (replace hostname to your own one)

[root@node01 ~]#
yum -y install http://dlp.srv.world/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm
# register system with activation key

[root@node01 ~]#
rhnreg_ks --serverUrl=https://dlp.srv.world/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey=1-centos6-base-x86_64

[2] Login to Spacewalk admin site and move to "Systems" tab, then registred systems is displayed.
[3] It's possible to make sure details to click a hostname.
[4] It's possible to make sure installed packages or install new packages and other many management tasks on here.
 
Tweet